package com.one.group.service;

import com.mybatisflex.core.service.IService;
import com.one.group.model.dto.InventoryFlowAddDto;
import com.one.group.model.dto.InventoryFlowQueryDto;
import com.one.group.model.dto.InventoryFlowUpdateDto;
import com.one.group.model.entity.InventoryFlow;
import com.one.group.model.vo.InventoryFlowInformationVo;
import com.one.group.model.vo.InventoryFlowListVo;

import java.util.List;

public interface InventoryFlowService extends IService<InventoryFlow> {
    List<InventoryFlowListVo> findInventoryFlowByQueryDto(InventoryFlowQueryDto inventoryFlowQueryDto);

    boolean insertInventoryFlow(InventoryFlowAddDto inventoryFlowAddDto);
    boolean updateInventoryFlow(InventoryFlowUpdateDto inventoryFlowUpdateDto);

    InventoryFlowInformationVo findInventoryFlowById(Long id);

    boolean removeInventoryFlowById(Long id);
}